package com.whz.singleton;

/**
 * @Author: sinosoft
 * @Description: 静态工厂方法
 * @Date: Create in 18:49 2021/4/29
 * @Modified By:
 */
public class Elvis1<T> {
    private static final Elvis1 INSTANCE = new Elvis1();
    private Elvis1() {
    }
    public static <T> Elvis1<T> getInstance() {
        return INSTANCE;
    }

    public void leaveTheBuilding() {

    }
}
